﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace MultiPanelTest.Data
{
    public class DataProvider
    {
        public DataProvider()
        {

        }

        public IEnumerable<Product> GetProducts()
        {
            List<Product> list = new List<Product>();

            list.Add(new Product()
            {
                ProductID = 1,
                ProductName = "Chai",
            });

            list.Add(new Product()
            {
                ProductID = 2,
                ProductName = "Chang",
            });

            list.Add(new Product()
            {
                ProductID = 3,
                ProductName = "Aniseed Syrup",
            });

            list.Add(new Product()
            {
                ProductID = 4,
                ProductName = "Chef Anton's Cajun Seasoning",
            });

            list.Add(new Product()
            {
                ProductID = 5,
                ProductName = "Chef Anton's Gumbo Mix",
            });

            list.Add(new Product()
            {
                ProductID = 6,
                ProductName = "Grandma's Boysenberry Spread",
            });

            list.Add(new Product()
            {
                ProductID = 7,
                ProductName = "Uncle Bob's Organic Dried Pears",
            });

            list.Add(new Product()
            {
                ProductID = 8,
                ProductName = "Northwoods Cranberry Sauce",
            });

            list.Add(new Product()
            {
                ProductID = 9,
                ProductName = "Mishi Kobe Niku",
            });

            list.Add(new Product()
            {
                ProductID = 10,
                ProductName = "Ikura",
            });

            list.Add(new Product()
            {
                ProductID = 11,
                ProductName = "Queso Cabrales",
            });

            list.Add(new Product()
            {
                ProductID = 12,
                ProductName = "Queso Manchego La Pastora",
            });

            list.Add(new Product()
            {
                ProductID = 13,
                ProductName = "Konbu",
            });

            list.Add(new Product()
            {
                ProductID = 14,
                ProductName = "Chai",
            });

            list.Add(new Product()
            {
                ProductID = 15,
                ProductName = "Tofu",
            });

            list.Add(new Product()
            {
                ProductID = 16,
                ProductName = "Genen Shouyu",
            });
            list.Add(new Product()
            {
                ProductID = 17,
                ProductName = "Pavlova",
            });

            return list.AsEnumerable<Product>();

        }
    }
}
